import request from '../utils/request'

export function postUser(data: any) {
    return request({
        url: '/api/user',
        method: 'post',
        data
    })
}

export function getUser(id: number|string) {
    return request({
        // url: `/user/{id}`,
        url: '/api/user?uuid=' + id,
        method: 'get'
    })
}